package models.validation;

import models.AdminUser;
import models.Show;
import play.data.validation.Check;

public class ShowValidator extends Check {
	
	@Override
	public boolean isSatisfied(Object validatedObject, Object value) {
		return !(Show.isExist((String) value));
	}
	
}